* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #000;
}

ul li {
    list-style: none;
}

@media screen and (min-width:750px) {
    html {
        font-size: 75px!important;
    }
}

input {
    outline: none;
}

body {
    min-width: 320px;
    max-width: 750px;
    width: 10rem;
    margin: 0 auto;
    line-height: 1.5;
    font-family: Arial, Helvetica;
    background-color: #f2f2f2;
    height: 40rem;
}


/* 头部搜索版块search-content */

.search-content {
    display: flex;
    width: 10rem;
    height: 1.1733rem;
    background-color: #ffc001;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: .3333rem;
    text-align: center;
}

.classify {
    width: .5867rem;
    height: .9333rem;
    margin: .1467rem .3333rem .0933rem .32rem;
    background: url(/images/classify.png) no-repeat;
    background-size: .5867rem .9333rem;
}

.search {
    flex: 1;
}

.search input {
    width: 100%;
    height: .88rem;
    border-radius: .44rem;
    border: 0;
    background-color: #fff2cc;
    margin-top: .1467rem;
    color: #757575;
    padding-left: .7333rem;
}

.login {
    width: 1rem;
    height: .9333rem;
    line-height: .9333rem;
    margin: .12rem 0;
    color: #fff;
}

.banner {
    width: 10rem;
    height: 4.9067rem;
}

.banner img {
    width: 100%;
    height: 100%;
}

.ad {
    display: flex;
}

.ad a {
    flex: 1;
}

.ad a img {
    width: 100%;
    height: 100%;
}

nav {
    width: 10rem;
    display: flex;
    flex-wrap: wrap;
}

nav a {
    text-align: center;
    width: 2rem;
    height: 1.8667rem;
    font-size: .3333rem;
    flex: 20%;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, .3);
}

nav a img {
    width: 75%;
    height: 75%;
    display: block;
    align-self: center;
}